package mx.messaging.events;

extern class ChannelFaultEvent extends ChannelEvent {
	var faultCode : String;
	var faultDetail : String;
	var faultString : String;
	var rootCause : Dynamic;
	function new(type : String, ?bubbles : Bool, ?cancelable : Bool, ?channel : mx.messaging.Channel, ?reconnecting : Bool, ?code : String, ?level : String, ?description : String, ?rejected : Bool, ?connected : Bool) : Void;
	function createErrorMessage() : mx.messaging.messages.ErrorMessage;
	static var FAULT : String;
	static function createEvent(channel : mx.messaging.Channel, ?reconnecting : Bool, ?code : String, ?level : String, ?description : String, ?rejected : Bool, ?connected : Bool) : ChannelFaultEvent;
}
